ledger software package provides command-line double-entry accounting program, you can install in your Ubuntu 17.04 (Zesty Zapus) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install ledger
ledger is installed in your system.
Make ensure the ledger package were installed using the commands given below,
$ sudo dpkg-query -l | grep ledger *
You will get with ledger package name, version, architecture and description in a table
| Distro | Ubuntu 17 04 zesty zapus |
| Section | Utilities |
| Package | ledger |
| Version | 3.1.1+dfsg1-1ubuntu1 |
| Description | command-line double-entry accounting program |
| Sub Section | utils |